package com.tedu.openmedical.medicalsystem.UserRole.mapper;

import com.tedu.openmedical.medicalsystem.UserRole.pojo.entity.UserRole;
import com.tedu.openmedical.medicalsystem.UserRole.pojo.vo.UserRoleVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserRoleMapper {
    List<UserRoleVO> selectUserRole(String roleName);

    void deleteUserRole(Long roleId);

    UserRoleVO selectUserRoleById(Long roleId);

     void updateUserRole(UserRoleVO userRoleVO);

    void insertUserRole(UserRole userRole);
}
